package org.jeecg.modules.wms.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wms.entity.WmsOutbound;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wms.vo.WmsOutboundVO;

/**
 * @Description: 出库单主表
 * @Author: jeecg-boot
 * @Date: 2023-07-01
 * @Version: V1.0
 */
public interface WmsOutboundMapper extends BaseMapper<WmsOutbound> {
    
    /**
     * 分页查询出库单列表
     *
     * @param page 分页参数
     * @param wmsOutbound 查询条件
     * @return 出库单列表
     */
    IPage<WmsOutboundVO> queryOutboundList(Page<WmsOutboundVO> page, @Param("query") WmsOutbound wmsOutbound);
    
    /**
     * 根据ID查询出库单详情
     *
     * @param id 出库单ID
     * @return 出库单详情
     */
    WmsOutboundVO queryOutboundById(@Param("id") String id);
} 